package cj.web.marriage.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 投票结果
 */
public class VoteResultsCopy extends DataTablePage implements Serializable {

    protected Integer id;
	protected Integer voteId;
	protected String voteItemIds;
	protected String requestIp;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAt;
	protected String address;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getVoteId() {
		return voteId;
	}
	public void setVoteId(Integer voteId) {
		this.voteId = voteId;
	}
	public String getVoteItemIds() {
		return voteItemIds;
	}
	public void setVoteItemIds(String voteItemIds) {
		this.voteItemIds = voteItemIds;
	}
	public String getRequestIp() {
		return requestIp;
	}
	public void setRequestIp(String requestIp) {
		this.requestIp = requestIp;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((address == null) ? 0 : address.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((requestIp == null) ? 0 : requestIp.hashCode());
		result = prime * result + ((voteId == null) ? 0 : voteId.hashCode());
		result = prime * result
				+ ((voteItemIds == null) ? 0 : voteItemIds.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		VoteResultsCopy other = (VoteResultsCopy) obj;
		if (address == null) {
			if (other.address != null)
				return false;
		} else if (!address.equals(other.address))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (requestIp == null) {
			if (other.requestIp != null)
				return false;
		} else if (!requestIp.equals(other.requestIp))
			return false;
		if (voteId == null) {
			if (other.voteId != null)
				return false;
		} else if (!voteId.equals(other.voteId))
			return false;
		if (voteItemIds == null) {
			if (other.voteItemIds != null)
				return false;
		} else if (!voteItemIds.equals(other.voteItemIds))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "VoteResultsCopy [id=" + id + ", voteId=" + voteId
				+ ", voteItemIds=" + voteItemIds + ", requestIp=" + requestIp
				+ ", deleteFlag=" + deleteFlag + ", createUser=" + createUser
				+ ", createAt=" + createAt + ", address=" + address + "]";
	}
}